/*
 * Project: BooEditor
 * Author:  Johannes Kuhaupt
 * Copyright (c): Johannes Kuhaupt
 * Licence: MIT
 */
package view;

import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;

/**
 *
 * @author Jojo
 */
public class ResizeListener extends ComponentAdapter{
    BooEditorMainFrame frame;
    
    public ResizeListener(BooEditorMainFrame pFrame){
        super();
        frame = pFrame;        
    }
    
    @Override
    public void componentResized(ComponentEvent e){
        frame.saveNewViewSettings();
    }
}
